package com.tf8.treasure.mapper;

import com.tf8.treasure.entity.ResourceChapter;
import com.tf8.treasure.entity.ResourceChapterExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;

@Mapper
public interface ResourceChapterMapper {
    int countByExample(ResourceChapterExample example);

    int deleteByExample(ResourceChapterExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ResourceChapter record);

    int insertSelective(ResourceChapter record);

    List<ResourceChapter> selectByExampleWithBLOBs(ResourceChapterExample example);

    List<ResourceChapter> selectByExample(ResourceChapterExample example);

    ResourceChapter selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ResourceChapter record, @Param("example") ResourceChapterExample example);

    int updateByExampleWithBLOBs(@Param("record") ResourceChapter record, @Param("example") ResourceChapterExample example);

    int updateByExample(@Param("record") ResourceChapter record, @Param("example") ResourceChapterExample example);

    int updateByPrimaryKeySelective(ResourceChapter record);

    int updateByPrimaryKeyWithBLOBs(ResourceChapter record);

    int updateByPrimaryKey(ResourceChapter record);

    List<ResourceChapter> selectPageByExample(@Param("example") ResourceChapterExample example, @Param("pageable") Pageable pageable);
}